package com.wlyy.his.ze.api;

import com.wlyy.his.ze.base.ZeApiException;
import com.wlyy.his.ze.bean.request.*;
import com.wlyy.his.ze.bean.response.*;
import com.wlyy.his.ze.hepler.ZeApiUtils;
import org.springframework.http.HttpMethod;

/**
 * @author: 10097
 * @date: 2021/9/1 09:06
 * @description: 国内
 */
public class ZeGuoNeiApiService {


    /**
     * 获取人员信息（00522）
     *
     * @param request 请求参数
     * @return 结果
     * @throws ZeApiException 异常
     */
    public static RENYUANXX_OUT patientInfo00522(RENYUANXX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new RENYUANXX_OUT(), HttpMethod.POST, "00522");
    }

    /**
     * 挂号科室信息查询(00531)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static GUAHAOKSXX_OUT guaHaoDept00531(GUAHAOKSXX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new GUAHAOKSXX_OUT(), HttpMethod.POST, "00531");
    }

    /**
     * 挂号医生信息查询(00532)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static GUAHAOYSXX_OUT guahaoDocotor00532(GUAHAOYSXX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new GUAHAOYSXX_OUT(), HttpMethod.POST, "00532");
    }


    /**
     * 挂号号源信息查询(00533)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static GUAHAOHYXX_OUT guahaoSource00533(GUAHAOHYXX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new GUAHAOHYXX_OUT(), HttpMethod.POST, "00533");
    }

    /**
     * 挂号预约(00536)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static GUAHAOYY_OUT guahaoReserve00536(GUAHAOYY_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new GUAHAOYY_OUT(), HttpMethod.POST, "00536");
    }

    /**
     * 挂号预处理(00535)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static RENYUANMXCX_OUT guahaoDeal00535(GUAHAOYCL_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new RENYUANMXCX_OUT(), HttpMethod.POST, "00535");
    }

    /**
     * 挂号信息查询(00537)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static GUAHAOXXCX_OUT guahaoInfoSearch00537(GUAHAOXXCX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new GUAHAOXXCX_OUT(), HttpMethod.POST, "00537");
    }


    /**
     * 医院排班信息查询(05312)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static YIYUANPBXX_OUT yiyuanRoster05312(YIYUANPBXX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new YIYUANPBXX_OUT(), HttpMethod.POST, "05312");
    }

    /**
     * 医院停诊(05313)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static PAIBANTZXX_OUT yiyuantz05313(PAIBANTZXX_IN_request request) {
        return ZeApiUtils.exec(request, new PAIBANTZXX_OUT(), HttpMethod.POST, "05313");
    }

    /**
     * 取消挂号预约(00539)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static GUAHAOYYTH_OUT guahaoCancel00539(GUAHAOYYTH_IN_request request) {
        return ZeApiUtils.exec(request, new GUAHAOYYTH_OUT(), HttpMethod.POST, "00539");
    }


    /**
     * 人员注册(00521)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static RENYUANMXZC_OUT patientZC00521(RENYUANZC_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new RENYUANMXZC_OUT(), HttpMethod.POST, "00521");
    }


    /**
     * 人员明细查询(00524)
     *
     * @param request 请求参数
     * @return 返回
     * @throws ZeApiException 异常
     */
    public static RENYUANMXCX_OUT patientDetailZC00524(RENYUANMXCX_IN_request request) throws ZeApiException {
        return ZeApiUtils.exec(request, new RENYUANMXCX_OUT(), HttpMethod.POST, "00524");
    }
}
